﻿using Service.Framework;

namespace Service.Core.Utils.Sms
{
    public interface ISmsService : IScopedService
    {
        /// <summary>
        /// 发送模板短信
        /// </summary>
        /// <param name="phone"></param>
        /// <param name="templateTypeId"></param>
        /// <param name="sign"></param>
        /// <param name="templateParam"></param>
        /// <returns></returns>
        Task<Boolean> SendSms(string phone, string templateTypeId, params string[] templateParam);
    }
}
